package kr.co.waitnumber.site.management.dao;

import kr.co.waitnumber.site.domain.Member;

import java.util.List;

public interface MemberDao {
    public abstract List getMemberListBySearchword(Member member);
    public abstract String getTotalMemberCountBySearchword(Member member);

    //Transaction Test
    public abstract String transactionInsertTest(Member member);
    public abstract String transactionUpdateTest(Member member);
    public abstract String transactionDeleteTest(String id);

    //Transaction Test
    public abstract void transactionVoidInsertTest(Member member);
    public abstract void transactionVoidUpdateTest(Member member);
    public abstract void transactionVoidDeleteTest(String id);

    public abstract Member getMemberById(String id);
    public abstract Member getMemberByEmail(String id);
    public abstract Member getMemberByIdEmail(Member member);

    public abstract String getMemberExistById(String id);
    public abstract String getMemberExistByEmail(String email);
    public abstract String getMemberExistByIdEmail(Member member);

	public abstract String deleteMemberById(String id);
    public abstract String updateMemberById(Member member);
    public abstract String adminUpdateMemberById(Member member);
    public abstract String updateMemberPasswordById(Member member);
    public abstract String insertMember(Member member);

}
